from selenium import webdriver
from selenium.webdriver.chrome.options import Options

# 定义配置的实例对象option
option = Options()
# 修改实例属性为debug模式启动的ip+端口
option.debugger_address = "127.0.0.1:9222"
driver = webdriver.Chrome(options = option)
driver.get("https://work.weixin.qq.com/wework_admin/frame")



